package com.ihisomp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 职位信息
 * </p>
 *
 * @author zy
 * @since 2022-04-19
 */
@TableName("t_sys_position")
public class SysPosition implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 职位主键
     */
    @TableId(value = "position_key", type = IdType.INPUT)
    private String positionKey;

    /**
     * 职位名称
     */
    private String positionName;

    /**
     * 拼音
     */
    private String py;

    /**
     * 排序号
     */
    private Integer seqNo;

    /**
     * 英文名称
     */
    private String positionNameEn;

    /**
     * 备注
     */
    private String note;

    /**
     * 医师注记：0，否；1.是
     */
    private Integer nurseFlg;

    /**
     * 护士注记：0，否；1.是
     */
    private Integer doctorFlg;

    /**
     * 收费员注记：0，否；1.是
     */
    private Integer tollFlg;

    /**
     * 会计注记：0，否；1.是
     */
    private Integer accountingFlg;

    /**
     * 药师注记：0，否；1.是
     */
    private Integer phaFlg;

    /**
     * 技工注记：0，否；1.是
     */
    private Integer mechanicFlg;

    public String getPositionKey() {
        return positionKey;
    }

    public void setPositionKey(String positionKey) {
        this.positionKey = positionKey;
    }
    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }
    public String getPy() {
        return py;
    }

    public void setPy(String py) {
        this.py = py;
    }
    public Integer getSeqNo() {
        return seqNo;
    }

    public void setSeqNo(Integer seqNo) {
        this.seqNo = seqNo;
    }
    public String getPositionNameEn() {
        return positionNameEn;
    }

    public void setPositionNameEn(String positionNameEn) {
        this.positionNameEn = positionNameEn;
    }
    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }
    public Integer getNurseFlg() {
        return nurseFlg;
    }

    public void setNurseFlg(Integer nurseFlg) {
        this.nurseFlg = nurseFlg;
    }
    public Integer getDoctorFlg() {
        return doctorFlg;
    }

    public void setDoctorFlg(Integer doctorFlg) {
        this.doctorFlg = doctorFlg;
    }
    public Integer getTollFlg() {
        return tollFlg;
    }

    public void setTollFlg(Integer tollFlg) {
        this.tollFlg = tollFlg;
    }
    public Integer getAccountingFlg() {
        return accountingFlg;
    }

    public void setAccountingFlg(Integer accountingFlg) {
        this.accountingFlg = accountingFlg;
    }
    public Integer getPhaFlg() {
        return phaFlg;
    }

    public void setPhaFlg(Integer phaFlg) {
        this.phaFlg = phaFlg;
    }
    public Integer getMechanicFlg() {
        return mechanicFlg;
    }

    public void setMechanicFlg(Integer mechanicFlg) {
        this.mechanicFlg = mechanicFlg;
    }

    @Override
    public String toString() {
        return "SysPosition{" +
            "positionKey=" + positionKey +
            ", positionName=" + positionName +
            ", py=" + py +
            ", seqNo=" + seqNo +
            ", positionNameEn=" + positionNameEn +
            ", note=" + note +
            ", nurseFlg=" + nurseFlg +
            ", doctorFlg=" + doctorFlg +
            ", tollFlg=" + tollFlg +
            ", accountingFlg=" + accountingFlg +
            ", phaFlg=" + phaFlg +
            ", mechanicFlg=" + mechanicFlg +
        "}";
    }
}
